package com.app.controller;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * Created by IntelliJ IDEA.
 * User: dourmur
 * Date: 12/2/11
 * Time: 8:05 PM
 * To change this template use File | Settings | File Templates.
 */
public class ScreenShootController extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

        PrintWriter out = resp.getWriter();
        out.write("Hello World");
        out.flush();
        out.close();
/*
        String typePlay = req.getParameter("play");
        String typeStop = req.getParameter("stop");
        ScreenShootService service = new ScreenShootService();
        if (typePlay == null){
           service.getScreenShoot(typeStop);
        } else {
           service.getScreenShoot(typePlay);
        }
*/
    }
}